#!/bin/bash
git clone https://gitcode.com/zhouzhinian/dofit.git \

sudo dnf install https://mirrors.ustc.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.ustc.edu.cn/rpmfusion/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm \
sudo dnf makecache \

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \
sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub


#如果出现错误可尝试：
#wget https://mirror.sjtu.edu.cn/flathub/flathub.gpg
#sudo flatpak remote-modify --gpg-import=flathub.gpg flathub

 



